import axios  from "../utils/requit";
import store from "../store/index";
export function login(user){
   return axios.get("/login?user="+user);
}
export function getPermission(){
    return axios.get("/permisser?user="+store.state.UserToken);
}